package com.wyzz.hr.pojo.base;

import java.io.Serializable;
import java.util.Date;

import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Recruitappcontact;
import com.wyzz.hr.pojo.Recruitapplier;
import com.wyzz.hr.pojo.Recruitplan;

public class BaseRecruitappcontact implements Serializable {

	public BaseRecruitappcontact() {
		hashCode = 0x80000000;
		initialize();
	}

	public BaseRecruitappcontact(String id) {
		hashCode = 0x80000000;
		setId(id);
		initialize();
	}

	protected void initialize() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getRecacCatNo() {
		return recacCatNo;
	}

	public void setRecacCatNo(Integer recacCatNo) {
		this.recacCatNo = recacCatNo;
	}

	public String getRecacEmpName() {
		return recacEmpName;
	}

	public void setRecacEmpName(String recacEmpName) {
		this.recacEmpName = recacEmpName;
	}

	public String getRecacType() {
		return recacType;
	}

	public void setRecacType(String recacType) {
		this.recacType = recacType;
	}

	public Date getRecacTime() {
		return recacTime;
	}

	public void setRecacTime(Date recacTime) {
		this.recacTime = recacTime;
	}

	public String getRecacContent() {
		return recacContent;
	}

	public void setRecacContent(String recacContent) {
		this.recacContent = recacContent;
	}

	public Integer getRecacRate() {
		return recacRate;
	}

	public void setRecacRate(Integer recacRate) {
		this.recacRate = recacRate;
	}

	public Date getRecacCreateTime() {
		return recacCreateTime;
	}

	public void setRecacCreateTime(Date recacCreateTime) {
		this.recacCreateTime = recacCreateTime;
	}

	public Date getRecacLastChangeTime() {
		return recacLastChangeTime;
	}

	public void setRecacLastChangeTime(Date recacLastChangeTime) {
		this.recacLastChangeTime = recacLastChangeTime;
	}

	public Recruitapplier getRecacRecaId() {
		return recacRecaId;
	}

	public void setRecacRecaId(Recruitapplier recacRecaId) {
		this.recacRecaId = recacRecaId;
	}

	public Recruitplan getRecacRecpId() {
		return recacRecpId;
	}

	public void setRecacRecpId(Recruitplan recacRecpId) {
		this.recacRecpId = recacRecpId;
	}

	public Employee getRecacCreateBy() {
		return recacCreateBy;
	}

	public void setRecacCreateBy(Employee recacCreateBy) {
		this.recacCreateBy = recacCreateBy;
	}

	public Employee getRecacLastChangeBy() {
		return recacLastChangeBy;
	}

	public void setRecacLastChangeBy(Employee recacLastChangeBy) {
		this.recacLastChangeBy = recacLastChangeBy;
	}

	public boolean equals(Object obj) {
		if (null == obj)
			return false;
		if (!(obj instanceof Recruitappcontact))
			return false;
		Recruitappcontact recruitappcontact = (Recruitappcontact) obj;
		if (null == getId() || null == recruitappcontact.getId())
			return false;
		else
			return getId().equals(recruitappcontact.getId());
	}

	public int hashCode() {
		if (0x80000000 == hashCode) {
			if (null == getId())
				return super.hashCode();
			String hashStr = (new StringBuilder()).append(getClass().getName())
					.append(":").append(getId().hashCode()).toString();
			hashCode = hashStr.hashCode();
		}
		return hashCode;
	}

	public String toString() {
		return super.toString();
	}

	public static String REF = "Recruitappcontact";
	public static String PROP_ID = "id";
	public static String PROP_RECAC_RECA_ID = "recacRecaId";
	public static String PROP_RECAC_RECP_ID = "recacRecpId";
	public static String PROP_RECAC_CAT_NO = "recacCatNo";
	public static String PROP_RECAC_EMP_NAME = "recacEmpName";
	public static String PROP_RECAC_TYPE = "recacType";
	public static String PROP_RECAC_TIME = "recacTime";
	public static String PROP_RECAC_CONTENT = "recacContent";
	public static String PROP_RECAC_RATE = "recacRate";
	public static String PROP_RECAC_CREATE_TIME = "recacCreateTime";
	public static String PROP_RECAC_CREATE_BY = "recacCreateBy";
	public static String PROP_RECAC_LAST_CHANGE_BY = "recacLastChangeBy";
	public static String PROP_RECAC_LAST_CHANGE_TIEM = "recacLastChangeTime";
	private int hashCode;
	private String id;
	private Integer recacCatNo;
	private String recacEmpName;
	private String recacType;
	private Date recacTime;
	private String recacContent;
	private Integer recacRate;
	private Date recacCreateTime;
	private Date recacLastChangeTime;
	private Recruitapplier recacRecaId;
	private Recruitplan recacRecpId;
	private Employee recacCreateBy;
	private Employee recacLastChangeBy;

}
